// phone head style end
.content {
    padding-top: 0.3rem !important;
    padding-bottom: 2.2rem !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    @media all and (max-width: 640px) {
        & {
            margin: 2.1rem auto 2.2rem;
        }
    }
}

#trolley {
    border: 1px solid #ddd;
}

ul {
    padding: 0 15px;
    margin-bottom: 0 !important;
}

.trolley-th ul li {
    height: 60px;
    line-height: 59px;
    text-align: left;
}

.all-select {
    position: absolute;
    left: 21%;
}

.trolley-orders {
    border-bottom: 1px solid #ddd;
    .order-first-li {
        display: -webkit-flex;
        display: flex;
        align-items: center;
    }
    .order-imgbox {
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: strecth;
        align-items: strecth;
        position: absolute;
        width: 10em;
        left: 20%;
        top: 0;
        height: 100%;
        padding: 0.5em 0.5em 0.5em 0;
    }
    img {
        max-width: 100%;
        max-height: 100%;
    }
    ul li {
        height: 7em;
        line-height: 70px;
        text-align: left;
        position: relative;
        border-top: 1px solid #ddd;
    }
    a {
        color: #999;
        text-decoration: none;
    }
    labal {
        font-weight: bold;
        font-size: 1em;
        white-space: nowrap;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        overflow: hidden;
        display: block;
        height: 4.5em;
    }
    p {
        line-height: 1.5em;
        margin: 0px;
        font-size: 0.8em;
        color: #777;
        white-space: nowrap;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        overflow: hidden;
        display: block;
    }
}

.num-a {
    background: #cacaca;
    width: 2em;
    display: inline-block;
    height: 2em;
    line-height: 2em;
    text-align: center;
    border-radius: 3px;
    font-size: 16px;
    color: #555 !important;
    border: 0;
}

.trolley-operation ul li {
    height: 60px;
    line-height: 59px;
}

.num-input {
    width: 40px;
    height: 31px;
    line-height: 31px;
    text-align: center;
    border-radius: 3px;
    border: 1px solid #2499b1;
    color: #2499b1;
    margin: 0 8px;
}

.color-red {
    color: red;
    font-size: 1.2em;
    font-weight: bold;
    margin-left: 5px;
    margin-right: 5px;
}

.font-bold {
    font-size: 1.2em;
    font-weight: bold;
}

.buy-button {
    background: #289db5;
    width: 9em;
    height: 2.5em;
    margin: 5%;
    line-height: 35px;
    border-radius: 3px;
    color: #fff;
    border: 1px;
}

.buy-button-mobile {
    background: #289db5;
    width: 5.5em;
    height: 2.4em;
    margin: 5%;
    line-height: 2.4em;
    border-radius: 3px;
    color: #fff;
    border: 1px;
}

.chk {
    display: none;
}

.chk+label {
    background-color: #ffffff;
    border: 1px solid #2499b1;
    box-shadow: 0 1px 3px #bdbaba inset;
    padding: 7px;
    border-radius: 3px;
    display: inline-block;
    position: absolute;
    top: 50%;
    margin-right: 10px;
}

.chk:checked+label {
    background-color: #ffffff;
    border: 1px solid #2499b1;
    box-shadow: 0 1px 3px #bdbaba inset;
    color: #243441;
}

.chk:checked+label:after {
    content: '\2714';
    position: absolute;
    top: -23px;
    left: 1px;
    color: #758794;
    width: 100%;
    text-align: center;
    font-size: 1.2em;
    padding: 1px 0 0 0;
    vertical-align: text-top;
}

.trolley-orders .chk:checked+label:after {
    top: -28px !important;
}

@media all and (max-width: 640px) {
    #trolley {
        border-left: 0;
        border-right: 0;
    }
    .trolley-orders ul li {
        height: 6em;
        line-height: 4em;
    }
    .trolley-orders ul li:nth-child(5) {
        text-align: right;
    }
    .trolley-orders ul li:nth-child(1) {
        padding: 0 !important
    }
    .trolley-operation ul li {
        float: left;
        font-size: .8em;
        position: relative;
        height: 2.5em;
        line-height: 3.3em;
    }
    .trolley-operation ul li:nth-child(2) {
        padding-left: 25px;
    }
    .trolley-operation ul li:nth-child(3) {
        padding-left: 10px;
    }
    .chk+label {
        left: 1%;
    }
    .trolley-orders .chk:checked+label:after {
        top: -21px !important;
    }
    .trolley-orders {
        .order-imgbox {
            width: 7em;
        }
    }
    .trolley-operation .chk+label {
        left: -19%;
        top: 42%;
    }
    .chk:checked+label:after {
        top: -13px;
        left: 0px;
    }
    .all-select {
        left: 0%;
        position: relative;
    }
    .trolley-orders labal {
        height: 3em;
        font-size: 0.8em;
    }
    .num-mobile {
        text-align: right;
        margin-top: -32px
    }
    .mobile-padding-0 {
        padding: 0;
    }
    #trolley {
        border: 0;
    }
    .mobile-li {
        overflow: hidden;
        padding: 0 !important;
    }
    .trolley-orders ul li ul li {
        float: left;
        border: 0;
    }
    .trolley-orders ul li ul li:nth-child(1) {
        width: 50%
    }
    .trolley-orders ul li ul li:nth-child(2) {
        width: 50%;
        text-align: right;
    }
    .trolley-orders ul li ul li:nth-child(3) {
        width: 70%;
        background: #f4f4f4;
        line-height: 6em;
        text-align: center;
    }
    .trolley-orders ul li ul li:nth-child(4) {
        background: #ff7a7a;
        width: 30%;
        text-align: center;
    }
    .trolley-orders ul li ul li:nth-child(4) a {
        color: #fff;
        line-height: 6em;
    }
    .dis-none {
        display: none;
    }
    .num-input {
        width: 30px;
        height: 25px;
        line-height: 25px;
        background: #f4f4f4;
    }
    .num-a {
        width: 25px;
        height: 25px;
        line-height: 25px
    }
    .pos-bottom {
        position: absolute;
        bottom: 0px;
        padding: 0 !important;
    }
    .mobile-th li:nth-child(1) {
        padding-left: 0 !important;
        text-align: left;
    }
    .mobile-th li:nth-child(2) {
        text-align: center;
    }
    .content {
        margin-top: 0 !important;
    }
}